package com.example.design.patterns.geekbang.结构型.结构类似的模式.适配器模式.统一多个类的接口设计.refactor;

import com.example.design.patterns.geekbang.结构型.结构类似的模式.适配器模式.统一多个类的接口设计.CSensitiveWordsFilter;

public class CSensitiveWordsFilterAdaptor implements ISensitiveWordsFilter {
    private CSensitiveWordsFilter filter;

    public String filter(String text) {
        String maskedText = filter.filter(text, "***");
        return maskedText;
    }
}
